package arith;

//import java.util.Random;

public class AddExp implements Operation {

	private Problem prob;
	
	public AddExp(){
		prob = new Problem("<exp> + <exp>");
	}
	
	/*
	public AddExp(Problem prob1){
		Random randomGenerator = new Random();
		int r = randomGenerator.nextInt(2);
		if(r == 0){
			prob = new Problem("("+prob1.getTemplate()+") + <exp>");
		}else{
			prob = new Problem("<exp> + ("+prob1.getTemplate()+")");
		}
	}
	
	public AddExp(Problem prob1, Problem prob2){
		prob = new Problem("("+prob1.getTemplate()+") + ("+prob2.getTemplate()+")");
	}*/
	
	public Problem getProblem() {
		return prob;
	}

}
